package com.cw.jeeyt.common.enums;

/**
 * Define the entity type of cache.
 *
 * @author guohb
 *
 */
public enum EnumCacheEntityType {
	ORGANIZATION("OrganizationCache"), URL_ROLE("UrlRoleCache"), SESSION_USER("SessionUserCache"), USER_ROLES(
			"UserRolesCache"), ROLE_OPERATION("RoleOperationCache"), USER_ORGANIZATION("UserOrganizationCache")
			,SYS_CACHE("sysCache"),RES_CACHE("ResourceCache"),ACT_CACHE("actCache");
	/**
	 * The key of the cache.
	 */
	private String cacheKey;

	private EnumCacheEntityType(String cacheKey) {
		this.cacheKey = cacheKey;
	}

	public String getCacheKey() {
		return cacheKey;
	}

}
